import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '姓名',
    align: "center",
    dataIndex: 'realName'
  },
  {
    title: '花名',
    align: "center",
    dataIndex: 'name'
  },
  {
    title: '联系电话',
    align: "center",
    dataIndex: 'phone'
  },
  {
    title: '职位',
    align: "center",
    dataIndex: 'position_dictText'
  },
  {
    title: '部门',
    align: "center",
    dataIndex: 'department_dictText'
  },
  {
    title: '备注',
    align: "center",
    dataIndex: 'remarks'
  },
];

// 高级查询数据
export const superQuerySchema = {
  realName: {title: '姓名',order: 0,view: 'text', type: 'string',},
  name: {title: '花名',order: 1,view: 'text', type: 'string',},
  phone: {title: '联系电话',order: 2,view: 'text', type: 'string',},
  position: {title: '职位',order: 3,view: 'list', type: 'string',dictCode: 'le_rank',},
  department: {title: '部门',order: 4,view: 'list', type: 'string',dictCode: 'le_department',},
  remarks: {title: '备注',order: 5,view: 'textarea', type: 'string',},
};
